package org.tysite.tyservice.example.restful.dto;

import java.util.Arrays;
import java.util.List;

/**
 * @author tysite
 */
public class BowDTO {
    
    private Long id;
    /** 名称 */
    private String name;
    /** 磅数 */
    private String[] poundage;
    /** 类别 */
    private List<BowCategoryDTO> classification;
    
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String[] getPoundage() {
        return poundage;
    }
    
    public void setPoundage(String[] poundage) {
        this.poundage = poundage;
    }
    
    public List<BowCategoryDTO> getClassification() {
        return classification;
    }
    
    public void setClassification(List<BowCategoryDTO> classification) {
        this.classification = classification;
    }
    
    @Override
    public String toString() {
        return "BowDTO{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", poundage=" + Arrays.toString(poundage) +
            ", classification=" + classification +
            '}';
    }
}
